<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<meta name="description" content="古今在线，铜鼓惊天">
	<link rel="stylesheet" href="../lib/weui.min.css">
	<link rel="stylesheet" href="../css/jquery-weui.css">
	<link rel="stylesheet" href="../img/global/iconfont.css">
	<link href="<%=resUrl%>/css/add_transport.css" rel="stylesheet" type="text/css" />
	<% include ./template/commonJs.ejs %>
	<% include ./template/chatLister.ejs %>
</head>
 
<body ontouchstart>
	<% var topTitle = '添加寄售';var topReturnType = '1' %> 
	<% include ./template/topReturn.ejs %>
	<div class="">
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">藏品名称</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" id="productName" placeholder="请输入名称" />
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">参考价格</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" id="productPrice" placeholder="请输入参考价格" />
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">尺寸</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" id="sizeDesc" placeholder="请输入尺寸" />
			</div>
		</div>
		<div class="weui-cell weui-cell_select weui-cell_select-after" >
			<div class="weui-cell__hd">
				<label for="" class="weui-label">一级分类</label>
			</div>
			<div class="weui-cell__bd">
				<select class="weui-select" name="select3" id="firstCategory" >
						<option value='' disabled selected style='display:none;'>请选择</option>            
				</select>
			</div>
		</div>
		<div class="weui-cell weui-cell_select weui-cell_select-after" >
			<div class="weui-cell__hd">
				<label for="" class="weui-label">二级分类</label>
			</div>
			<div class="weui-cell__bd">
				<select class="weui-select" name="select3" id="secondCategory">
						<option value='' disabled selected style='display:none;'>请选择</option>
				</select>
			</div>
		</div>
		<div class="weui-cell weui-cell_select-after">
			<div class="weui-cell__hd"><label class="weui-label">藏品品相</label></div>
			<div class="weui-cell__bd ">
					<input class="weui-input" id="appearance"  type="text" placeholder="请选择">
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">藏品描述</label></div>
			<div class="weui-cell__bd">
					<textarea class="weui-textarea" placeholder="请输入藏品描述" rows="3" id="detailsDesc"></textarea>
					<div class="weui-textarea-counter"><span id="descNumber">0</span>/200</div>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd" style="width:4rem;"><label class="weui-label">藏品图片</label></div>
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__bd">
						<input id="showImages" type="hidden"/>
						<div id="wrap">
							<div id="ossfile">
								
							</div>		
						</div>				
						<div id="container">
							<a id="selectfiles" href="javascript:void(0);" class='btn'>
								<input type="file" id="imageUpload" accept="image/*" multiple style="z-index:3;position:absolute;left:0;top:0;width:4rem;height:4rem;opacity:0;">
								<div class="icon-container">
									<svg t="1552873504326" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3451" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M956.67712 843.67872c-2.69312 50.048-68.03456 38.34368-102.16448 38.34368H127.86688c-13.4912 0-26.38848 1.21344-38.8352-5.23264-20.09088-10.41408-18.99008-31.89248-18.99008-50.77504v-68.4032V292.8128 180.48512c0-49.51552 67.21024-38.39488 99.28704-38.39488h663.45984c30.8736 0 68.70016-5.96992 98.94912 2.34496 38.00064 10.44992 24.9344 90.77248 24.9344 118.53312v226.16576l0.00512 354.54464c0 33.01376 51.2 33.01376 51.2 0V499.32288 270.09536c0-37.52448 7.49056-86.95296-6.6048-122.88-22.44608-57.21088-77.39904-56.32512-127.80032-56.32512H109.07136c-50.88256 0-87.5776 40.45312-90.21952 89.54368-0.53248 9.9072 0 19.9936 0 29.91104v613.8368c0 18.16064-0.23552 35.2768 6.6048 52.71552 13.97248 35.61984 48.81408 56.33024 86.3232 56.33024h794.75712c54.46656 0 98.24256-32.0256 101.34528-89.54368 1.77152-33.01376-49.43872-32.83968-51.20512-0.00512z" p-id="3452" fill="#bfbfbf"></path><path d="M664.8576 335.2576c-1.4848 45.8752-36.16256 80.54784-82.03264 82.03264-45.85984 1.4848-80.62464-38.38976-82.03264-82.03264-1.4848-45.86496 38.38976-80.62464 82.03264-82.03264 45.85984-1.4848 80.62464 38.38976 82.03264 82.03264 1.06496 32.93184 52.27008 33.03424 51.2 0-2.40128-74.2144-59.02336-130.83648-133.23264-133.23264-74.17344-2.40128-130.94912 62.63296-133.23264 133.23264-2.40128 74.17344 62.63296 130.94912 133.23264 133.23264 74.17344 2.40128 130.94912-62.63296 133.23264-133.23264 1.07008-33.03424-50.13504-32.92672-51.2 0zM62.55616 700.80512l229.46304-186.02496h-36.20352l445.44512 389.93408c24.7296 21.65248 61.09184-14.4128 36.1984-36.1984l-445.44-389.9392c-11.34592-9.9328-24.79616-9.24672-36.20352 0L26.35264 664.60672c-25.66144 20.79744 10.79808 56.79104 36.20352 36.1984z" p-id="3453" fill="#bfbfbf"></path><path d="M600.92416 751.11424l164.69504-185.1392h-36.1984c78.24384 75.37152 156.4928 150.7328 234.74688 226.0992 23.77728 22.90176 60.02176-13.2608 36.1984-36.1984-78.24384-75.37152-156.4928-150.7328-234.74688-226.0992-9.59488-9.24672-26.79808-10.5728-36.1984 0a2831453.4144 2831453.4144 0 0 0-164.69504 185.1392c-21.86752 24.576 14.21312 60.91776 36.1984 36.1984z" p-id="3454" fill="#bfbfbf"></path></svg>
								</div>
								<div class="text">上传图片</div>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd" style="width:4rem;"><label class="weui-label">藏品视频</label></div>
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__bd">
						<input id="showVideos" type="hidden"/>
						<div id="wrap">
							<div id="ossvideo">
								
							</div>		
						</div>				
						<div id="container">
							<a id="selectvideos" href="javascript:void(0);" class='btn'>
								<input type="file" id="fileUpload" accept="video/*" style="z-index:3;position:absolute;left:0;top:0;width:4rem;height:4rem;opacity:0;"><!-- capture="camcorder" -->
								<div class="icon-container">
									<svg t="1552873483665" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2604" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M887.134 926.871H136.866c-41.074 0-74.491-33.417-74.491-74.491V171.621c0-41.074 33.417-74.491 74.491-74.491h750.268c41.074 0 74.491 33.417 74.491 74.491v272.623c0 8.284-6.716 15-15 15s-15-6.716-15-15V171.621c0-24.532-19.958-44.491-44.491-44.491H136.866c-24.532 0-44.491 19.959-44.491 44.491V852.38c0 24.532 19.958 44.491 44.491 44.491h750.268c24.532 0 44.491-19.959 44.491-44.491V646.91c0-8.284 6.716-15 15-15s15 6.716 15 15v205.47c0 41.074-33.417 74.491-74.491 74.491z" fill="#bfbfbf" p-id="2605"></path><path d="M946.625 606.244c-8.284 0-15-6.716-15-15v-28.668c0-8.284 6.716-15 15-15s15 6.716 15 15v28.668c0 8.284-6.716 15-15 15zM946.625 534.577c-8.284 0-15-6.716-15-15v-22.666c0-8.284 6.716-15 15-15s15 6.716 15 15v22.666c0 8.284-6.716 15-15 15zM939.394 368H77.375c-8.284 0-15-6.716-15-15s6.716-15 15-15h862.019c8.284 0 15 6.716 15 15s-6.716 15-15 15zM417.294 739.095a14.999 14.999 0 0 1-15.001-15V505.38a14.999 14.999 0 0 1 19.16-14.411c1.971 0.568 48.822 14.173 96.507 34.82 28.486 12.335 51.341 24.659 67.928 36.63 24.102 17.395 35.818 34.508 35.818 52.318s-11.716 34.924-35.818 52.318c-16.587 11.971-39.442 24.295-67.928 36.63-47.685 20.647-94.536 34.252-96.507 34.82-1.367 0.397-2.767 0.59-4.159 0.59z m14.999-213.34v177.962c17.948-5.831 46.11-15.581 73.982-27.663 81.313-35.249 85.431-57.262 85.431-61.316 0-4.062-4.13-26.112-85.667-61.418-27.83-12.052-55.863-21.756-73.746-27.565z" fill="#bfbfbf" p-id="2606"></path><path d="M89.984 368.002c-2.73 0-5.493-0.745-7.975-2.307-7.011-4.412-9.118-13.673-4.706-20.685l146-232c4.412-7.013 13.673-9.117 20.685-4.706 7.011 4.412 9.118 13.673 4.706 20.685l-146 232c-2.851 4.531-7.726 7.013-12.71 7.013zM260.369 368.002c-2.73 0-5.493-0.745-7.975-2.307-7.011-4.412-9.118-13.673-4.706-20.685l146-232c4.412-7.013 13.673-9.117 20.685-4.706 7.011 4.412 9.118 13.673 4.706 20.685l-146 232c-2.851 4.531-7.726 7.013-12.71 7.013zM429.593 368.002c-2.73 0-5.493-0.745-7.975-2.307-7.011-4.412-9.118-13.673-4.706-20.685l146-232c4.412-7.013 13.674-9.117 20.685-4.706 7.012 4.412 9.119 13.673 4.706 20.685l-146 232c-2.851 4.531-7.726 7.013-12.71 7.013zM604.514 368.002c-2.73 0-5.494-0.745-7.975-2.307-7.012-4.412-9.119-13.673-4.706-20.685l146-232c4.413-7.013 13.673-9.117 20.685-4.706 7.012 4.412 9.119 13.673 4.706 20.685l-146 232c-2.851 4.531-7.726 7.013-12.71 7.013zM773.338 368.002c-2.73 0-5.494-0.745-7.975-2.307-7.012-4.412-9.119-13.673-4.706-20.685l146-232c4.412-7.013 13.674-9.117 20.685-4.706 7.012 4.412 9.119 13.673 4.706 20.685l-146 232c-2.851 4.531-7.726 7.013-12.71 7.013z" fill="#bfbfbf" p-id="2607"></path></svg>
								</div>
								<div class="text">上传视频</div>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>	  
		  
	<div class="weui-btn-area">
	<a class="weui-btn weui-btn_mini weui-btn_primary" href="javascript:" onclick="puilcPro();">提交</a>
	</div>
	<script id="pho" type="text/html">
		<input  id="showImages" type="hidden" value="{{imgPath}}"/>
		{{each list as value i}}
		<li class="weui-uploader__file" style="background-image:url({{value.path}}?x-oss-process=image/resize,w_600)">
			<svg t="1548644681815" onclick="delImg('{{value.path}}')" class="del_img"  viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4850" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M544 64C279.04 64 64 279.04 64 544S279.04 1024 544 1024c264.96 0 480-215.04 480-480S808.96 64 544 64zM759.04 758.4c-12.8 12.8-33.28 12.8-45.44 0L542.08 585.6l-174.08 172.16c-12.8 12.8-33.28 12.8-46.08 0-12.8-12.8-12.8-33.28 0-45.44l174.72-172.8L331.52 374.4c-12.8-12.8-12.8-33.28 0-45.44 12.8-12.8 33.28-12.8 45.44 0l165.12 165.76 167.68-165.76c12.8-12.8 33.28-12.8 46.08 0 12.8 12.8 12.8 33.28 0 45.44l-168.32 166.4 170.88 172.16C771.2 725.12 771.2 745.6 759.04 758.4z" p-id="4851" fill="#d81e06"></path></svg>
		</li>
		{{/each}}
	</script>
	<script src="/lib/lrz.bundle.js"></script>
	<script src="../../js/add_transport.js"></script>
	<% include ./template/upload.ejs %>
</body>

</html>